import React from 'react';
import { BrowserRouter as Router, Route } from "react-router-dom";
import {Provider,useSelector} from 'react-redux';
import Home from './Home';
import User from './User';

const App = ()=>{
   return (
    <div>
      <Router>
        <Route exact path='/' component={Home}/>
        <Route path="/user" component={User}/>
      </Router>
    </div>
  );
}


export default App;
